cmake_minimum_required(VERSION 3.24)
project(memory-pool)

set(CMAKE_CXX_STANDARD 17)

add_executable(memory-pool
        object_memory_pool/ObjectPool.h
        concurrent_memory_pool/Common.h
        concurrent_memory_pool/thread_cache/ThreadCache.cpp
        concurrent_memory_pool/thread_cache/include/ThreadCache.h
        concurrent_memory_pool/thread_cache/include/ConcurrentAlloc.h
        UnitTest.cpp
        concurrent_memory_pool/central_cache/CentralCache.cpp
        concurrent_memory_pool/central_cache/include/CentralCache.h
        concurrent_memory_pool/page_cache/PageCache.cpp
        concurrent_memory_pool/page_cache/include/PageCache.h
        concurrent_memory_pool/page_cache/include/RadixTree.h
        Benchmark.cpp)
